package adfc2.render3d.tex;

import adfc2.Renderer3D;
import adfc2.render3d.TextureReference;

/**
 * Created by IntelliJ IDEA.
 * User: aimozg
 * Date: 06.02.12
 * Time: 18:02
 */
public class TexRefRef extends TextureReference {

    public final int index;

    public TexRefRef(int index) {
        this.index = index;
    }

    @Override
    public void activate(Renderer3D renderer) {
        renderer.textureParam(index).activate(renderer);
    }
}
